<div id="<?php echo $unique_id; ?>" class="tvo-testimonials-display tvo-testimonials-display-grid tvo-set1-small-template tve_green">
	<?php foreach ( $testimonials as $testimonial ) : ?>
		<?php if ( ! empty( $testimonial ) ) : ?>
			<div class="tvo-item-col tvo-item-s12 tvo-item-m6 tvo-item-l6 ">
				<div class="tvo-testimonial-display-item tvo-apply-background">
					<?php if ( ! empty( $config['show_title'] ) ) : ?>
							<?php if ( strlen( $testimonial['title'] ) > 0 ) {
								echo '<h4>';
								echo $testimonial['title'];
								echo '</h4>';
							} ?>
					<?php endif; ?>
					<div class="tvo-relative tvo-testimonial-content">
						<p>
							<?php echo "“";
							echo strip_tags( $testimonial['content'] );
							echo "”"; ?>
						</p>
					</div>
					<svg height="15" viewBox="0 0 600 7" preserveAspectRatio="none" class="tvo-testimonial-line tvo-separator-svg-stroke">
						<polyline points="0,7 285,7 300,0 315,7 600 7"></polyline>
					</svg>
					<div class="tvo-row">
						<div class="tvo-col tvo-s4 tvo-m4">
							<div class="tvo-testimonial-image-cover" style="background-image: url(<?php echo $testimonial['picture_url'] ?>)">
								<img src="<?php echo $testimonial['picture_url'] ?>"
								     class="tvo-testimonial-image tvo-dummy-image" alt="profile-pic">
							</div>
						</div>
						<div class="tvo-col tvo-s8 tvo-m8">
							<div class="tvo-testimonial-info tvo-info-background">
							<span class="tvo-testimonial-name">
								<?php echo $testimonial['name'] ?>
							</span>
								<?php if ( ! empty( $config['show_role'] ) && strlen( $testimonial['role'] ) > 0 ) : ?>
									<span class="tvo-testimonial-role">
								<?php $role_wrap_before = empty( $config['show_site'] ) || empty( $testimonial['website_url'] ) ? '' : '<a href="' . $testimonial['website_url'] . '">';
								$role_wrap_after        = empty( $config['show_site'] ) || empty( $testimonial['website_url'] ) ? '' : '</a>';
								echo $role_wrap_before . $testimonial['role'] . $role_wrap_after; ?>
							</span>
								<?php endif; ?>
							</div>
						</div>
					</div>
				</div>
			</div>
		<?php endif; ?>
	<?php endforeach ?>
</div>
